package com.itmayiedu.utils;

import com.itmayiedu.constants.Constants;

import java.util.UUID;

/**
 * Token生成工具
 * @Author cht 【wonderfor@vip.qq.com】
 * @Date 2018/10/23
 */
public class TokenUtils {

    public static String getMemberToken() {
        return Constants.TOKEN_MEMBER+"-"+ UUID.randomUUID();
    }

    public static String getPayToken() {
        return Constants.TOKEN_KEY+"-" + UUID.randomUUID();
    }
}
